package com.umxwe.kill.order.feign.hystrix;

import com.umxwe.kill.order.feign.RemoteOrderInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;


@Slf4j
@Component
public class RemoteOrderFallbackFactory implements RemoteOrderInfoService {
    @Override
    public String sayHi(String name) {
        log.error("error say Hi");
        return "error";
    }
}
